package com.ruoyi.basebill.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工资发放对象 t_wfz_gzff
 *
 * @author ruoyi
 * @date 2022-12-14
 */





/**
 * 已废弃
 */









public class TWfzGzff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long fid;

    /** 单据编号 */
    @Excel(name = "单据编号")
    private String fnumber;

    /** 组织 */
    @Excel(name = "组织")
    private String fcompany;

    /** 用户名 */
    @Excel(name = "用户名")
    private String fperiod;

    /** 制单人 */
    @Excel(name = "制单人")
    private String fcreator;

    /** 制单时间 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @Excel(name = "制单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date fcreatetime;

    /** 最后修改人 */
    @Excel(name = "最后修改人")
    private String flastupdateuser;

    /** 最后修改时间 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date flastupdatetime;

    /** 状态 */
    @Excel(name = "状态")
    private String fstate;

    /** 来源单ID */
    @Excel(name = "来源单ID")
    private String fsourcebillid;

    /** 用户名 */
    @Excel(name = "是否同步至eas")
    private Long fiseas;


    /** 工资发放单分录信息 */
    private List<TWfzGzffentry> tWfzGzffentryList;

    public void setFid(Long fid)
    {
        this.fid = fid;
    }

    public Long getFid()
    {
        return fid;
    }
    public void setFnumber(String fnumber)
    {
        this.fnumber = fnumber;
    }

    public String getFnumber()
    {
        return fnumber;
    }
    public void setFcompany(String fcompany)
    {
        this.fcompany = fcompany;
    }

    public String getFcompany()
    {
        return fcompany;
    }
    public void setFperiod(String fperiod)
    {
        this.fperiod = fperiod;
    }

    public String getFperiod()
    {
        return fperiod;
    }
    public void setFcreator(String fcreator)
    {
        this.fcreator = fcreator;
    }

    public String getFcreator()
    {
        return fcreator;
    }
    public void setFcreatetime(Date fcreatetime)
    {
        this.fcreatetime = fcreatetime;
    }

    public Date getFcreatetime()
    {
        return fcreatetime;
    }
    public void setFlastupdateuser(String flastupdateuser)
    {
        this.flastupdateuser = flastupdateuser;
    }

    public String getFlastupdateuser()
    {
        return flastupdateuser;
    }
    public void setFlastupdatetime(Date flastupdatetime)
    {
        this.flastupdatetime = flastupdatetime;
    }

    public Date getFlastupdatetime()
    {
        return flastupdatetime;
    }
    public void setFiseas(Long fiseas)
    {
        this.fiseas = fiseas;
    }

    public Long getFiseas()
    {
        return fiseas;
    }

    public String getFstate() {
        return fstate;
    }

    public void setFstate(String fstate) {
        this.fstate = fstate;
    }

    public String getFsourcebillid() {
        return fsourcebillid;
    }

    public void setFsourcebillid(String fsourcebillid) {
        this.fsourcebillid = fsourcebillid;
    }


    public List<TWfzGzffentry> getTWfzGzffentryList()
    {
        return tWfzGzffentryList;
    }
    @JsonProperty(value = "tWfzGzffentryList")
    public void setTWfzGzffentryList(List<TWfzGzffentry> tWfzGzffentryList)
    {
        this.tWfzGzffentryList = tWfzGzffentryList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fid", getFid())
            .append("fnumber", getFnumber())
            .append("fcompany", getFcompany())
            .append("fperiod", getFperiod())
            .append("fcreator", getFcreator())
            .append("fcreatetime", getFcreatetime())
            .append("flastupdateuser", getFlastupdateuser())
            .append("flastupdatetime", getFlastupdatetime())
            .append("fstate",getFstate())
            .append("fsourcebillid",getFsourcebillid())
            .append("fiseas", getFiseas())
            .append("tWfzGzffentryList", getTWfzGzffentryList())
            .toString();
    }
}
